html {
    -ms-touch-action: none;
}

body,
canvas,
div {
    display: block;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Remove spin of input type number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    margin: 0;

    cursor: default;
    color: #888;
    background-color: #333;

    text-align: center;
    font-family: Helvetica, Verdana, Arial, sans-serif;

    display: flex;
    flex-direction: column;
}

canvas {
    background-color: rgba(0, 0, 0, 0);
}

#GameDiv,
#Cocos3dGameContainer,
#GameCanvas {
    width: 100%;
    height: 100%;
}

:root {
    --safe-top: env(safe-area-inset-top);
    --safe-right: env(safe-area-inset-right);
    --safe-bottom: env(safe-area-inset-bottom);
    --safe-left: env(safe-area-inset-left);
}

/** 自定义样式 */
a:link,
a:visited {
    color: #666;
}

a:active,
a:hover {
    color: #666;
}

p.header {
    font-size: small;
}

p.footer {
    font-size: x-small;
}

#splash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loadingBG {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    background: url(./loadBG.v3.2.png) no-repeat center;
    background-size: 110%;
}

.loadingIcon {
    width: 90px;
    height: 90px;
    text-align: center;
    background: url(./icon.adgdd.png) no-repeat center;
    background-size: 100%;

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.loadingIconBG {
    width: 100px;
    height: 100px;
    text-align: center;
    background: url(./iconBG.v3.2.png) no-repeat center;
    background-size: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.toastBG {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: 50px;
    width: 285px;
    min-height: 100px;
    transform: translate(-50%, -50%);
    background: url(./bg.png) no-repeat;
    background-size: 100% 100%;
    color: #fff;
    padding: 0 10px;
}

@keyframes animate-stripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 0;
    }
}

.close_pop {
    position: absolute;
    left: 10%;
    top: 25%;
    margin-top: 50px;
    width: 280px;
    min-height: 200px;
    transform: translate(-50%, -50%);
    background: url(./bg.png) no-repeat;
    background-size: 100% 100%;
    color: #fff;
    padding: 0 10px;
}

.close_no {
    position: absolute;
    right: 20px;
    top: 120px;
    width: 110px;
    height: 40px;
    background: url("./deposit.v3.2.png") no-repeat;
    background-size: 100%;
    border-style: none;
    outline: none;
}

.close_yes {
    position: absolute;
    left: 30px;
    top: 120px;
    width: 110px;
    height: 40px;
    background: url("./cancalBtn.v3.2.png") no-repeat;
    background-size: 100%;
    border-style: none;
    outline: none;
}

.close_btn {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 32px;
    height: 32px;
    background: url("./btn_exit.v3.2.png") no-repeat;
    background-size: contain;
    border-style: none;
    outline: none;
}

.close_text {
    position: relative;
    top: 50px;
    margin: auto;
}

.progress {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.progress div {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
}

.progress .hull {
    position: relative;
    width: 100px;
    height: 100px;
    transform: rotate(0deg)
}

.progress .section {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.progress .section_right {
    width: 50%;
    left: 50%;
    transform: rotate(180deg);
}

.progress .section_left {
    width: 50%;
    transform-origin: right center;
}

.progress .box {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.progress .box_left {
    transform-origin: right center;
    transform: rotate(180deg);
    animation: box_left 2s linear;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}

.progress .box_right {
    left: 100%;
    transform-origin: left center;
    transform: rotate(0deg);
    animation: box_right 2s linear;
    animation-fill-mode: forwards;
}

.progress .circle {
    width: 200%;
    height: 100%;
    border-radius: 50%;
}

.progress .circle_left {
    border: 10px solid #4EECE3;
}

.progress .circle_right {
    left: -100%;
    border: 10px solid #4EECE3;
}